package com.sdzp.entity;

import java.util.Date;

public class User {
    private Integer userId;

    private String username;

    private String email;

    private Long phone;

    private String password;

    private Short age;

    private Date registerTime;

    private Integer registerZone;

    private Byte type;

    private Byte boolBlocklist;

    public User(Integer userId, String username, String email, Long phone, String password, Short age, Date registerTime, Integer registerZone, Byte type, Byte boolBlocklist) {
        this.userId = userId;
        this.username = username;
        this.email = email;
        this.phone = phone;
        this.password = password;
        this.age = age;
        this.registerTime = registerTime;
        this.registerZone = registerZone;
        this.type = type;
        this.boolBlocklist = boolBlocklist;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Short getAge() {
        return age;
    }

    public void setAge(Short age) {
        this.age = age;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getRegisterZone() {
        return registerZone;
    }

    public void setRegisterZone(Integer registerZone) {
        this.registerZone = registerZone;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getBoolBlocklist() {
        return boolBlocklist;
    }

    public void setBoolBlocklist(Byte boolBlocklist) {
        this.boolBlocklist = boolBlocklist;
    }
}